package com.wzweb.entity;

import java.sql.ResultSet;

import com.wzweb.dao.util.DBParse;

public class UserParse implements DBParse {
	@Override
	public Object parseEntity(ResultSet rs)throws Exception {
		User user=new User();
		user.setUserId(rs.getInt("UserID"));
		user.setUserName(rs.getString("UserName"));
		user.setUserPwd(rs.getString("UserPwd"));
		return user;
	}
}
